#pragma once

#include <functional>

namespace learnmuduo
{

// All client visible callbacks go here.
using TimerCallback = std::function<void()>;
using EventCallback = std::function<void ()>;

template <typename T>
using observer_ptr = T*; // 非拥有，仅回调用

} // namespace learnmuduo
